<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<body>

<form action="/system/manager/form" method="post" data-auto="true" class="layui-form" data-table-id="ManagerTable">

    <div class="layui-card-body">

        <label class="layui-form-item relative block">
            <span class="help-label"><b>名称</b>Name</span>
            <input maxlength="100" class="layui-input" name="name" th:value="${vo?.name}" required vali-name="名称" placeholder="请输入名称">
            <span class="help-block"></span>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>权限描述</b>Permission Description</span>
            <textarea placeholder="请输入权限描述" maxlength="200" class="layui-textarea" name="remark">[[${vo?.remark}]]</textarea>
        </label>

    </div>

    <input type="hidden" name="id" th:if="${vo}" th:value="${vo.id}"/>

    <div class="layui-form-actions1 text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>

</body>
</html>